﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditPic.aspx.cs" Inherits="School.Admin.Admin.EditPic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
</style>
    <script>
        function Check() {
            var str = /^[0-9]*$/;
            var txtSN1 = document.getElementById("TextBox1").value;
            if (txtSN1 != "") {
                if (str.test(txtSN1) == false) {
                    alert('排序只能输入数字');
                    return false;
                }
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="30" background="../tab/images/tab_05.gif">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="12" height="30">
                            <img src="../tab/images/tab_03.gif" width="12" height="30" />
                        </td>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="46%" valign="middle">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="5%">
                                                    <div align="center">
                                                        <img src="../tab/images/tb.gif" width="16" height="16" /></div>
                                                </td>
                                                <td width="95%" class="STYLE1">
                                                    <span class="STYLE3">你当前的位置</span>：[首页管理]-[编辑头像]
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="16">
                            <img src="../tab/images/tab_07.gif" width="16" height="30" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="90%" border="0" cellpadding="3" cellspacing="1" class="tableBorder"
                    style="margin-top: 7px; margin-left: 10px;">
                    <tr>
                        <th colspan="2">
                            <asp:Localize runat="server" ID="mark2"> 编 辑 </asp:Localize>
                        </th>
                    </tr>
                    <tr>
                        <td class="forumRow" align="right">
                            名称 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="forumRow" align="right" width="12%" style="height: 25px">
                            状态：
                        </td>
                        <td class="forumRow" style="height: 25px">
                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Value="1" Selected>启用</asp:ListItem>
                                <asp:ListItem Value="0">禁用</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="forumRow" align="right">
                            图片预览 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:Image ID="ImageView" Width="120" Height="120" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="forumRow" align="right" width="12%">
                            上传图片：
                        </td>
                        <td class="forumRow">
                            <asp:Label ID="lbPic" runat="server" Text="" Visible="false"></asp:Label>
                            <asp:FileUpload ID="FileUploadPicture" runat="server" /><asp:Button ID="Button1"
                                runat="server" Text="上传图片" OnClick="Button1_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td class="forumRow" align="right">
                        </td>
                        <td class="forumRow">
                            <asp:Button Text=" 提 交 " runat="server" ID="btnSave" CssClass="button" OnClick="btnSave_Click" />&nbsp;
                            <asp:Button Text=" 返 回 " runat="server" ID="Button2" CssClass="button" OnClick="Button2_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
